﻿// 项目：	Guan.CMS.Web - Guan.CMS
// 文件名：	LogOnFormModel.cs
// 
// 修改时间：2013-03-08 21:00
// 修改人：	Cooclsee

using System.ComponentModel.DataAnnotations;

namespace Guan.CMS.Web.ViewModels
{
    public class LogOnFormModel
    {
        [Required(ErrorMessage = "必填")]
        /*[DataType(DataType.EmailAddress)]*/
        [Display(Name = "账号")]
        public string UserName { get; set; }

        [Required(ErrorMessage = "必填")]
        [DataType(DataType.Password)]
        [Display(Name = "密码")]
        public string Password { get; set; }

        [Display(Name = "记住密码?")]
        public bool RememberMe { get; set; }
    }
}